import { Authority } from '../request'

const { post, get } = Authority
//推出登录

export const loginOut = () => post('/api/user/logout')
// 菜单分类接口
export const menu_cateList = params => post('/api/menu/menu_cate', params)
// 获取团购套餐
export const setmealList = params => post('/api/setmeal/lists', params)

// 点餐机菜单接口
export const menu_list = params => post('/api/menu/menu_list', params)
// 店面订单接口
export const create_order = params => post('/api/order/create_order', params)
// 备注分类接口
export const remarks_list = params => post('/api/remarks/lists', params)
// 座位数据
export const seat_list = params => post('/api/basic/seat_list', params)

// 叫号编码
export const call_number = params => post('/api/basic/call_number', params)

// 折扣配置接口
export const discount_lists = params => post('/api/discount/lists', params)
// 订单结账操作
export const queryCheckout = params => post('/api/order/checkout', params)

export const order_list = params => get('/api/order/order_list', { params })
// 外卖订单取餐
export const pick_up_meals = params => get('/api/order/pick_up_meals', { params })

// 外卖订单取餐
export const order_cancel = params => get('/api/order/order_cancel', { params })
// 数据统计
export const queryTotal = params => post('/api/data/total', params)

